home *** CD-ROM | disk | FTP | other *** search
- unit Unit1;
-
- interface
-
- uses
- Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
- Menus, StdCtrls, Buttons;
-
- type
- TForm1 = class(TForm)
- MainMenu1: TMainMenu;
- File1: TMenuItem;
- Close1: TMenuItem;
- Showme1: TMenuItem;
- Amessagebox1: TMenuItem;
- Edit1: TEdit;
- Label1: TLabel;
- BitBtn1: TBitBtn;
- procedure Close1Click(Sender: TObject);
- procedure Amessagebox1Click(Sender: TObject);
- private
- { Private-Deklarationen }
- public
- { Public-Deklarationen }
- end;
-
- var
- Form1: TForm1;
-
- implementation
-
- {$R *.DFM}
-
- procedure TForm1.Close1Click(Sender: TObject);
- begin
- close;
- end;
-
- procedure TForm1.Amessagebox1Click(Sender: TObject);
- begin
- messagedlg ('This is our message dialog.',mtinformation,[mbok],0);
- end;
-
- end.
-